package com.steve.xfood.dto;

import lombok.Data;

/**
 * 购物车(接收前端传递数据)
 * @author steve
 * @date 2020/5/8 11:37
 */
@Data
public class CartDTO {

    /** 购物车商品id */
    private String productId;

    /** 购物车商品数量 */
    private Integer productQuantity;

    public CartDTO(String productId, Integer productQuantity) {
        this.productId = productId;
        this.productQuantity = productQuantity;
    }
}
